package com.atguigu.client;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.Connection;
import org.apache.hadoop.hbase.client.ConnectionFactory;

import java.io.IOException;

public class Hbase_Client {
    public static void main(String[] args) throws IOException {

        //1.通过连接工厂获取Hbase链接
        Configuration conf = new Configuration();



        Connection connection = ConnectionFactory.createConnection(conf);

        System.out.println(connection);

        connection.close();
    }
}
